package com.neuedu.hisadmin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author jaun
 * @since 2025-07-05
 */
@Data
public class Herbalprescription implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 病历ID
     */
    private Integer medicalID;

    /**
     * 挂号ID
     */
    private Integer registID;

    /**
     * 开立医生ID
     */
    private Integer userID;

    /**
     * 处方名称
     */
    private String prescriptionName;

    /**
     * 开立时间
     */
    private LocalDateTime creationTime;

    /**
     * 处方类型 水煎煮/酒泡/打粉/制丸/装胶囊等
     */
    private String prescriptioType;

    /**
     * 付数
     */
    private Integer payNumber;

    /**
     * 频次
     */
    private String frequency;

    /**
     * 用法 内服/外用
     */
    private String drugsUsage;

    /**
     * 治法
     */
    private String therapy;

    /**
     * 治法详细
     */
    private String detailed;

    /**
     * 医嘱
     */
    private String advice;

    /**
     * 状态
     */
    private Integer state;
}
